def common_assert(resp,status_code,success,code,message):
    assert status_code == resp.status_code
    assert success is resp.json().get("success")
    assert message in resp.json().get('message')
    assert code == resp.json().get('code')